<?php 
require dirname(dirname(__FILE__)).'/class_online/remotemethod.php';
$remotemethod = new RemoteMethod();
$method = $_REQUEST['method'];
$rst = $remotemethod->$method($_REQUEST);
echo json_encode($rst);